package model

const (
  systemd_service = 0
  other_service = 1
)

// Service the data transfer object from database
type Service struct {
  ID          string     `gorm:"column:id"`
  Name        string     `gorm:"column:name"`
  Descript    string     `gorm:"column:descript"`
  Type        int        `gorm:"column:type"`
  StartScript string     `gorm:"column:start_script"`
  CheckScript string     `gorm:"column:check_script"`
  StopScript  string     `gorm:"column:Stop_script"`
}
